<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>标准文档流-行内块元素</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            margin: 20px;
            background: green;
            /* display: block; */
            /* display: inline; */
            display: inline-block;
        }
    </style>
</head>
<body>
    <div>我是div标签1</div>
    <div>我是div标签2</div>
</body>
</html>